prepare-root: Set up sysroot readonly in initramfs
authorColin Walters <walters@verbum.org>
Mon, 25 Oct 2021 07:07:28 +0000 (07:07 +0000)
committerLuca BRUNO <luca.bruno@coreos.com>
Wed, 3 Nov 2021 16:37:20 +0000 (16:37 +0000)
commitc553b5c69a9112d6e74919e4eab60a55b07feece
treeded273f56edb407755ac8361e6b08b48ea6056b7
parent800289a8dbc8222c9e5da86f9f60eaf5dcf6201f
prepare-root: Set up sysroot readonly in initramfs

Let's ensure things are right from the start in the initramfs;
this closes off various race conditions.  Followup to
https://github.com/ostreedev/ostree/pull/2113/commits/35642259175973617da937f3cab6ce5f13c95077

Closes: https://github.com/ostreedev/ostree/issues/2115
src/switchroot/ostree-prepare-root.c